package com.hsnn.medstgmini.settlement.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 
 * @category 支付明细表
 * @author 徐国鹏
 * @date 2015年7月22日 下午7:35:34
 */
@Entity
@Table(name = "set_settletdetailinfo")
public class SetSettletdetailinfo {

	@Id
	@Column(name = "trans_id")
	private String transId;// '支付明细id',

	@Column(name = "bank_acct_trans_type")
	private String bankAcctTransType;// '支付明细类型1采购明细2退货明细'
	
	@Column(name = "order_id")
	private String orderId;// '采购明细id（退货明细id）'
	
	@Column(name = "del_detail_id")
	private String delDetailId;// '配送明细id'
	
	@Column(name = "hosp_id")
	private String hospId;// '医疗机构id'
	
	@Column(name = "comp_id")
	private String compId;// '配送企业id'
	
	@Column(name = "goods_code")
	private String goodsCode;// '商品id'
	
	@Column(name = "drug_id")
	private String drugId;// '药品id'
	@Transient
	private String drugName;// '药品名称'
	
	@Column(name = "pro_datetime")
	private Date proDatetime;// '采购时间'
	
	@Column(name = "pro_price")
	private Integer proPrice;// '采购价'
	
	@Column(name = "pro_count")
	private Integer proCount;// '采购数量'
	
	@Column(name = "recp_datetime")
	private Date recpDatetime;// '到货时间'

	@Column(name = "recp_count")
	private Integer recpCount;// '到货数量'

	@Column(name = "settle_sch_beg_time")
	private Date settleSchBegTime;// '结算周期始'

	@Column(name = "settle_sch_end_time")
	private Date settleSchEndTime;// '结算周期止'

	@Column(name = "is_in_settle_slip")
	private short isInSettleSlip;// '是否纳入结算单0未纳入1已纳入'

	@Column(name = "add_settle_slip_dttm")
	private Date addSettleSlipDttm;// '纳入时间'

	@Column(name = "upd_datetime")
	private Date updDatetime;// '更新时间'

	@Column(name = "upd_user")
	private String updUser;// '更新人'

	public String getTransId() {
		return transId;
	}

	public void setTransId(String transId) {
		this.transId = transId;
	}





	public String getBankAcctTransType() {
		return bankAcctTransType;
	}

	public void setBankAcctTransType(String bankAcctTransType) {
		this.bankAcctTransType = bankAcctTransType;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getDelDetailId() {
		return delDetailId;
	}

	public void setDelDetailId(String delDetailId) {
		this.delDetailId = delDetailId;
	}

	public String getHospId() {
		return hospId;
	}

	public void setHospId(String hospId) {
		this.hospId = hospId;
	}

	public String getCompId() {
		return compId;
	}

	public void setCompId(String compId) {
		this.compId = compId;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public String getDrugId() {
		return drugId;
	}

	public void setDrugId(String drugId) {
		this.drugId = drugId;
	}

	public String getDrugName() {
		return drugName;
	}

	public void setDrugName(String drugName) {
		this.drugName = drugName;
	}

	public Date getProDatetime() {
		return proDatetime;
	}

	public void setProDatetime(Date proDatetime) {
		this.proDatetime = proDatetime;
	}


	public Date getRecpDatetime() {
		return recpDatetime;
	}

	public void setRecpDatetime(Date recpDatetime) {
		this.recpDatetime = recpDatetime;
	}


	public Integer getProPrice() {
		return proPrice;
	}

	public void setProPrice(Integer proPrice) {
		this.proPrice = proPrice;
	}

	public Integer getProCount() {
		return proCount;
	}

	public void setProCount(Integer proCount) {
		this.proCount = proCount;
	}

	public Integer getRecpCount() {
		return recpCount;
	}

	public void setRecpCount(Integer recpCount) {
		this.recpCount = recpCount;
	}

	public Date getSettleSchBegTime() {
		return settleSchBegTime;
	}

	public void setSettleSchBegTime(Date settleSchBegTime) {
		this.settleSchBegTime = settleSchBegTime;
	}

	public Date getSettleSchEndTime() {
		return settleSchEndTime;
	}

	public void setSettleSchEndTime(Date settleSchEndTime) {
		this.settleSchEndTime = settleSchEndTime;
	}

	public short getIsInSettleSlip() {
		return isInSettleSlip;
	}

	public void setIsInSettleSlip(short isInSettleSlip) {
		this.isInSettleSlip = isInSettleSlip;
	}

	public Date getAddSettleSlipDttm() {
		return addSettleSlipDttm;
	}

	public void setAddSettleSlipDttm(Date addSettleSlipDttm) {
		this.addSettleSlipDttm = addSettleSlipDttm;
	}

	public Date getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}

	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

}